﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ConsultasEjemplo5deOro.Interfaz
{
    public partial class GUIConsultas : Form
    {
        //public DateTime dateTimePickerInicio { get; set; }
        //public DateTime dateTimePickerFin { get; set; }

        public GUIConsultas()
        {
            InitializeComponent();
        }

        private void GUIConsultas_Load(object sender, EventArgs e)
        {

        }

        public DateTime DevolverFechaInicio() 
        {
            return dateTimePickerInicio.Value.Date;
        }

        public DateTime DevolverFechaFin()
        {
            return dateTimePickerFin.Value.Date;
        }

        public void CargarDataGrid(DataTable TblDatos) 
        {
            dtGridEjecutarConsultas.DataSource = TblDatos;
        } 

        private void btnEjecutar_Click(object sender, EventArgs e)
        {

        }
    }
}
